package com.jeesite.modules.dp.dao.yqrecord;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.dp.entity.kecheng.DpKecheng;
import com.jeesite.modules.dp.entity.yqrecord.DpYqrecord;
import com.jeesite.modules.sys.entity.User;

/**
 * 邀请记录DAO接口
 * @author hancing.com
 * @version 2024-12-16
 */
@MyBatisDao
public interface DpYqrecordDao extends CrudDao<DpYqrecord> {
	
	
	//利用邀请码查找用户
	User getUserByYqm(@Param("yqm") String yqm);
	
	//增加用户权益金余额
	void updateUserMoney(String logincode,double money);
	
	public DpYqrecord getUserTjr(@Param("byqr") String byqr);
	
	List<DpYqrecord> frontfindPageRen(DpYqrecord dpYqrecord);
	
	List<DpYqrecord> frontfindPageMoney(DpYqrecord dpYqrecord);
}